					
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
	    <meta charset="utf-8">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
	    <#include "/common/meta.ftl"/>
	    <#include "/common/form.ftl"/>
		<script>
		$(function(){
			$("#form").validate({
					rules: {
						
					},
					errorElement: "div",
					errorPlacement: function(error, element) {
						error.appendTo($(element).parent());
						$(element).parent().addClass("has-error");
						$(error).addClass("help-block alert-danger");
					},
					success: function(label) {
						$(label).parent().removeClass("has-error");
						$(label).remove();
					}
				})
			});
			function save(){
				
				$("#kindId").val()
				if($("#form").valid()){
					$("#form").submit();
				}
			}
		</script>
	</head>
	<body style="padding:5px;">
		<div class="panel panel-primary">
			<div class="panel-heading" style="">
				<strong>
					<i class="icon-pencil"></i> 举报信息种类
				</strong>
			</div>
			<div class="panel-body" style="padding:5px;padding-top:15px;">
			<form id="form" class="form-horizontal" role="form" method='post' action="./reportKindSave">
			<input type="hidden" id="kindId" name="kindId" value="${ kindId }"/>
				<div class="form-group">
					<label class="col-md-1 col-md-offset-1 control-label required" >
						类别名称
						</label>
					<div class="col-sm-3">
						<input type='text'  name="kindName"  id='kindName' value='${ formData.kindName!'' }' class='form-control' />
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-1 col-md-offset-1 control-label required" >
						类别编码
						</label>
					<div class="col-sm-3">
						<input type='text'  name="kindNo"  id='kindNo' value='${ formData.kindNo!'' }' class='form-control' />
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-1 col-md-offset-1 control-label required" >
						级别顺序号
						</label>
					<div class="col-sm-3">
						<input type='text'  name="kindOder"  id='kindOder' value='${ formData.kindOder!'' }' class='form-control' />
					</div>
				</div>

				<div style="margin-top:5px;padding:5px;text-align:center;">
					<button class="btn btn-primary" type="button" onclick="save();"><i class="icon icon-save"></i> 保存</button>
					<button class="btn" type="button" onclick="history.go(-1);"><i class="icon icon-reply"></i> 返回</button>
				</div>
			</form>
		  	</div>
		</div>
	</body>
</html>